package com.ruicar.afs.cloud.apply.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @description: 审批记录表
 * @author: sijun.yu
 * @date: 2020/5/11 18:15
 */
@Data
@TableName(value = "workflow_record_details", autoResultMap = true)
@Accessors(chain = true)
public class WorkflowRecordDetails extends BaseEntity<WorkflowRecordDetails> {

    /**
     * 业务编号;申请编号、合同编号
     */
    private String businessNo;
    /**
     * 业务类型
     */
    private String businessType;
    /**
     * 流程ID
     */
    private String processId;
    /**
     * 流程名称
     */
    private String processName;
    /**
     * 节点ID
     */
    private String nodeId;
    /**
     * 节点名称
     */
    private String nodeName;
    /**
     * 审批人员
     */
    private String approveTlrno;
    /**
     * 审批时间
     */
    private Date approveDate;
    /**
     * 审批建议
     */
    private String approveResult;
    /**
     * 审批描述
     */
    private String approveDesc;
    /**
     * 审批备注
     */
    private String approveRemarks;
    /**
     * 审批编码;
     */
    private String resultCode;
    /**
     * 审批编码类型;
     */
    private String codeType;
    /**
     * 审批编码描述;
     */
    private String codeDesc;
    /**
     * 其他备注
     */
    private String otherRemarks;

    /**
     * 审批建议对应name
     */
    @TableField(exist = false)
    private String approveResultName;
}
